package com.sojson.util.search.es.test;

import java.util.List;

import org.springframework.data.elasticsearch.annotations.Field;

import com.sojson.util.search.es.bean.EsBaseBean;

import lombok.Data;

/**
 * ES测试Bean
 * 
 * @author liu
 * @date 2022-07-21
 */
@Data
public class EsModelChild extends EsBaseBean {

    /**  */
    private static final long serialVersionUID = 1L;
    @Field(name = "NAME")
    private String name;
    @Field(name = "AGE")
    private Integer age;
    @Field(name = "NAMES")
    private List<String> names;
    @Field(name = "AGES")
    private List<Integer> ages;

}